<!--
  Generated template for the LoginPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title></ion-title>
  </ion-navbar>

</ion-header>
<ion-content>
  <div class="image">
    <div class="titles">
      用户登录
    </div>
    <img src="../assets/imgs/login1.png" mode='widthFix' />
  </div>


  <span *ngFor="let c of notifyInfo">{{c}}</span>

  <button *ngFor="let c of devices" ion-button class="button-device device-free" (click)="selected(c.id)">{{c.name}}</button>


  <!--<div style="text-align: center; margin-left: 30px; margin-right: 30px;">
    <button ion-button full (click)="loginOnSuccess()" class="buttonLogin">
          	 登录
        </button>
  </div>-->

  <div style="text-align: center; margin-left: 30px; margin-right: 30px;">
    <button ion-button full (click)="scan()">
          	 扫描
        </button>
  </div>

  <div style="text-align: center; margin-left: 30px; margin-right: 30px;">
    <button ion-button full (click)="connect()">
          	 连接
        </button>
  </div>

  <div style="text-align: center; margin-left: 30px; margin-right: 30px;">
    <button ion-button full (click)="write0030()">
          	 写入0030
        </button>
  </div>

  <div style="text-align: center; margin-left: 30px; margin-right: 30px;">
    <button ion-button full (click)="write0110()">
          	 写入0110
        </button>
  </div>

  <div style="text-align: center; margin-left: 30px; margin-right: 30px;">
    <button ion-button full (click)="write0020()">
          	 写入0020
        </button>
  </div>

  <div style="text-align: center; margin-left: 30px; margin-right: 30px;">
    <button ion-button full (click)="read()">
          	 读取
        </button>
  </div>

  <div style="text-align: center; margin-left: 30px; margin-right: 30px;">
    <button ion-button full (click)="notify()">
          	 监听
        </button>
  </div>
  <div style="text-align: center; margin-left: 30px; margin-right: 30px;">
    <button ion-button full (click)="stopnotify()">
          	 停止监听
        </button>
  </div>

  <div style="text-align: center; margin-left: 30px; margin-right: 30px;">
    <button ion-button full (click)="disconect()">
          	 断开
        </button>
  </div>

  <div style="text-align: center; margin-left: 30px; margin-right: 30px;">
    <button ion-button full (click)="state()">
          	 状态监听
        </button>
  </div>

  <div style="text-align: center; margin-left: 30px; margin-right: 30px;">
    <button ion-button full (click)="stopstate()">
          	 停止状态监听
        </button>
  </div>

  <div style="text-align: center; margin-left: 30px; margin-right: 30px;">
    <button ion-button full (click)="addTestData()">
          	 testADD
        </button>
  </div>

  <div style="text-align: center; margin-left: 30px; margin-right: 30px;">
    <button ion-button full (click)="delTestData()">
          	 testDEL
        </button>
  </div>


  <div style="text-align: center; margin-left: 30px; margin-right: 30px;">
    <button ion-button full (click)="authenticateusingWechat()">
          	 微信身份认证
        </button>
  </div>


  <div style="text-align: center; margin-left: 30px; margin-right: 30px;">
    <button ion-button full (click)="sharetext()">
          	 微信文字分享
        </button>
  </div>

    <div style="text-align: center; margin-left: 30px; margin-right: 30px;">
    <button ion-button full (click)="writeAPP()">
          	 测试
        </button>
  </div>


  <div style='text-align:center' class="bottom_link" (click)="register()">还没有账号？立即注册</div>
</ion-content>